package business.report.impl;

import business.report.MedicalInstrumentsOperationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.MedicalInstrumentsOperation;
import report.domain.MedicalInstrumentsOperationCriteria;
import report.mapper.MedicalInstrumentsOperationMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "miOperationService")
public class MedicalInstrumentsOperationServiceImpl implements MedicalInstrumentsOperationService{
    @Autowired
    MedicalInstrumentsOperationMapper medicalInstrumentsOperationMapper;

    @Override
    public List<MedicalInstrumentsOperation> getMedicalInstrumentsOperation() {
        MedicalInstrumentsOperationCriteria criteria = new MedicalInstrumentsOperationCriteria();
        criteria.createCriteria().getAllCriteria();
        return medicalInstrumentsOperationMapper.selectByExample(criteria);
    }
}
